home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / v cisle / wua / WindowsVistaUpgradeAdvisor.msi / _2E273B4721FD61938FC8C146C395840E / CollectorOutput.xsd < prev    next >
Extensible Markup Language  |  2007-02-06  |  22KB  |  350 lines

  1. <?xml version="1.0"?>
  2. <!-- ==================================================================== -->
  3. <!-- ============ Copyright (c) 2006  Microsoft Corporation ============= -->
  4. <!-- ==================================================================== -->
  5.  
  6.  
  7. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  8. <!-- ================================================================ -->
  9. <!-- ========================  Simple Types  ======================== -->
  10. <!-- ================================================================ -->
  11. <xsd:simpleType name="evidenceType">
  12.     <xsd:restriction base="xsd:NMTOKEN">
  13.         <xsd:maxLength value="23" />
  14.     </xsd:restriction>
  15. </xsd:simpleType>
  16.  
  17. <xsd:simpleType name="string260">
  18.     <xsd:restriction base="xsd:string">
  19.         <xsd:maxLength value="260" />
  20.     </xsd:restriction>
  21. </xsd:simpleType>
  22.  
  23. <xsd:simpleType name="string2048">
  24.     <xsd:restriction base="xsd:string">
  25.         <xsd:maxLength value="2048" />
  26.     </xsd:restriction>
  27. </xsd:simpleType>
  28.  
  29. <xsd:simpleType name="namePriority">
  30.     <xsd:restriction base="xsd:int">
  31.         <xsd:minInclusive value="0" />
  32.         <xsd:maxInclusive value="13" />
  33.     </xsd:restriction>
  34. </xsd:simpleType>
  35.  
  36.  
  37.     <xsd:element name="Collector" type="CollectorType"/>
  38.     <!-- ================================================================ -->
  39.     <!-- =======================  Collector Type  ======================= -->
  40.     <!-- ================================================================ -->
  41.     <xsd:complexType name="CollectorType">
  42.         <xsd:sequence>
  43.             <xsd:element name="Options" type="OptionsType"/>
  44.             <xsd:element name="SystemList" type="SystemListType"/>
  45.             <xsd:element name="Collection" type="CollectionType"/>
  46.         </xsd:sequence>
  47.         <xsd:attribute name="UtcDate" type="xsd:string" use="required"/>
  48.         <xsd:attribute name="LogId" type="xsd:string" use="required"/>
  49.         <xsd:attribute name="User" type="xsd:string"/>
  50.     </xsd:complexType>
  51.     <!-- ================================================================ -->
  52.     <!-- ========================  Options Type  ======================== -->
  53.     <!-- ================================================================ -->
  54.     <xsd:complexType name="OptionsType">
  55.         <xsd:sequence>
  56.             <xsd:element name="OutputDirectory" type="xsd:string" minOccurs="0"/>
  57.             <xsd:element name="OutputFile" type="xsd:string" minOccurs="0"/>
  58.             <xsd:element name="Quiet" type="xsd:boolean" minOccurs="0"/>
  59.             <xsd:element name="CollectUsername" type="xsd:boolean" minOccurs="0"/>
  60.         </xsd:sequence>
  61.     </xsd:complexType>
  62.     <!-- ================================================================ -->
  63.     <!-- ======================  SystemList Type  ======================= -->
  64.     <!-- ================================================================ -->
  65.     <xsd:complexType name="SystemListType">
  66.         <xsd:sequence>
  67.             <xsd:any namespace="##local" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
  68.         </xsd:sequence>
  69.     </xsd:complexType>
  70.     <!-- ================================================================ -->
  71.     <!-- =============  SystemList Elements Declarations  =============== -->
  72.     <!-- ================================================================ -->
  73.     <xsd:element name="CustomValues" type="CustomValuesType" />
  74.     <xsd:element name="NetworkInfo" type="NetworkInfoType" />
  75.     <xsd:element name="ChassisInfo" type="ChassisInfoType" />
  76.     <xsd:element name="OsInfo" type="OsInfoType" />
  77.     <xsd:element name="DirectxInfo" type="DirectxInfoType" />
  78.     <xsd:element name="HardwareInfo" type="HardwareInfoType" />
  79.     <!-- ================================================================== -->
  80.     <!-- =============  HardwareInfo Elements Declarations  =============== -->
  81.     <!-- ================================================================== -->
  82.     <xsd:element name="MemoryInfo" type="MemoryInfoType" />
  83.     <xsd:element name="ProcessorInfo" type="ProcessorInfoType" />
  84.     <xsd:element name="VideoInfo" type="VideoInfoType" />
  85.     <xsd:element name="DiskInfo" type="DiskInfoType" />
  86.     <xsd:element name="SystemSpec" type="SystemSpecType" />
  87.     <!-- ================================================================ -->
  88.     <!-- =====================  NetworkInfo Type  ======================= -->
  89.     <!-- ================================================================ -->
  90.     <xsd:complexType name="NetworkInfoType">
  91.         <xsd:sequence>
  92.             <xsd:element name="IP" type="IpType" minOccurs="0" maxOccurs="unbounded"/>
  93.             <xsd:element name="NIC" type="NicType" minOccurs="0" maxOccurs="unbounded"/>
  94.         </xsd:sequence>
  95.         <xsd:attribute name="Domain" type="xsd:string"/>
  96.         <xsd:attribute name="MachineName" type="xsd:string" use="required"/>
  97.         <xsd:attribute name="UserName" type="xsd:string" use="optional"/>
  98.         <xsd:attribute name="SmsGuid" type="xsd:string" use="optional"/>
  99.         <xsd:attribute name="SmsHwId" type="xsd:string" use="optional"/>
  100.     </xsd:complexType>
  101.     <!-- ================================================================ -->
  102.     <!-- ==========================  IP Type  =========================== -->
  103.     <!-- ================================================================ -->
  104.     <xsd:complexType name="IpType">
  105.         <xsd:attribute name="Address" type="xsd:string"/>
  106.     </xsd:complexType>
  107.     <!-- ================================================================ -->
  108.     <!-- =========================  NIC Type  =========================== -->
  109.     <!-- ================================================================ -->
  110.     <xsd:complexType name="NicType">
  111.         <xsd:attribute name="MacAddress" type="xsd:string"/>
  112.     </xsd:complexType>
  113.     <!-- ================================================================ -->
  114.     <!-- =====================  CustomValues Type  ====================== -->
  115.     <!-- ================================================================ -->
  116.     <xsd:complexType name="CustomValuesType">
  117.         <xsd:sequence>
  118.             <xsd:element name="CustomValue" type="CustomValueType" minOccurs="0" maxOccurs="unbounded"/>
  119.         </xsd:sequence>
  120.     </xsd:complexType>
  121.     <!-- ================================================================ -->
  122.     <!-- =====================  CustomValue Type  ======================= -->
  123.     <!-- ================================================================ -->
  124.     <xsd:complexType name="CustomValueType">
  125.         <xsd:attribute name="Name" type="xsd:string"/>
  126.         <xsd:attribute name="Value" type="xsd:string"/>
  127.     </xsd:complexType>
  128.     <!-- ================================================================ -->
  129.     <!-- =====================  ChassisInfo Type  ======================= -->
  130.     <!-- ================================================================ -->
  131.     <xsd:complexType name="ChassisInfoType">
  132.         <xsd:attribute name="Vendor" type="xsd:string"/>
  133.         <xsd:attribute name="AssetTag" type="xsd:string"/>
  134.         <xsd:attribute name="SerialNumber" type="xsd:string"/>
  135.     </xsd:complexType>
  136.     <!-- ================================================================ -->
  137.     <!-- ========================  OsInfo Type  ========================= -->
  138.     <!-- ================================================================ -->
  139.     <xsd:complexType name="OsInfoType">
  140.         <xsd:attribute name="BuildNumber" type="xsd:string" use="required"/>
  141.         <xsd:attribute name="CsdVersion" type="xsd:string" use="required"/>
  142.         <xsd:attribute name="MajorVersion" type="xsd:string" use="required"/>
  143.         <xsd:attribute name="MinorVersion" type="xsd:string" use="required"/>
  144.         <xsd:attribute name="PlatformId" type="xsd:string" use="required"/>
  145.         <xsd:attribute name="ProductType" type="xsd:string" use="required"/>
  146.         <xsd:attribute name="ServicePackMajor" type="xsd:string" use="required"/>
  147.         <xsd:attribute name="ServicePackMinor" type="xsd:string" use="required"/>
  148.         <xsd:attribute name="Suite" type="xsd:string" use="required"/>
  149.         <xsd:attribute name="WindowsDirectory" type="xsd:string" use="required"/>
  150.         <xsd:attribute name="SystemDirectory" type="xsd:string" use="required"/>
  151.     </xsd:complexType>
  152.     <!-- ================================================================ -->
  153.     <!-- ======================  DirectxInfo Type  ====================== -->
  154.     <!-- ================================================================ -->
  155.     <xsd:complexType name="DirectxInfoType">
  156.         <xsd:attribute name="Major" type="xsd:string" use="required"/>
  157.         <xsd:attribute name="Minor" type="xsd:string" use="required"/>
  158.         <xsd:attribute name="VersionLetter" type="xsd:string"/>
  159.     </xsd:complexType>
  160.     <!-- ================================================================ -->
  161.     <!-- ======================  HardwareInfo Type  ===================== -->
  162.     <!-- ================================================================ -->
  163.     <xsd:complexType name="HardwareInfoType">
  164.         <xsd:sequence>
  165.             <xsd:any namespace="##local" processContents="strict" minOccurs="0" maxOccurs="unbounded" />
  166.         </xsd:sequence>
  167.     </xsd:complexType>
  168.     <!-- ================================================================ -->
  169.     <!-- =======================  MemoryInfo Type  ====================== -->
  170.     <!-- ================================================================ -->
  171.     <xsd:complexType name="MemoryInfoType">
  172.         <xsd:attribute name="PageFile" type="xsd:string" use="required"/>
  173.         <xsd:attribute name="Ram" type="xsd:string" use="required"/>
  174.         <xsd:attribute name="Virtual" type="xsd:string" use="required"/>
  175.     </xsd:complexType>
  176.     <!-- ================================================================ -->
  177.     <!-- =====================  ProcessorInfo Type  ===================== -->
  178.     <!-- ================================================================ -->
  179.     <xsd:complexType name="ProcessorInfoType">
  180.         <xsd:attribute name="Name" type="xsd:string"/>
  181.         <xsd:attribute name="Mhz" type="xsd:string"/>
  182.         <xsd:attribute name="Architecture" type="xsd:string"/>
  183.         <xsd:attribute name="Family" type="xsd:string"/>
  184.         <xsd:attribute name="Type" type="xsd:string"/>
  185.         <xsd:attribute name="Level2CacheSize" type="xsd:string"/>
  186.         <xsd:attribute name="Level2CacheSpeed" type="xsd:string"/>
  187.         <xsd:attribute name="Level" type="xsd:string"/>
  188.         <xsd:attribute name="Vendor" type="xsd:string"/>
  189.         <xsd:attribute name="Caption" type="xsd:string"/>
  190.         <xsd:attribute name="ProcessorId" type="xsd:string"/>
  191.         <xsd:attribute name="Stepping" type="xsd:string"/>
  192.     </xsd:complexType>
  193.     <!-- ================================================================ -->
  194.     <!-- =======================  VideoInfo Type  ======================= -->
  195.     <!-- ================================================================ -->
  196.     <xsd:complexType name="VideoInfoType">
  197.         <xsd:attribute name="Name" type="xsd:string"/>
  198.         <xsd:attribute name="Vendor" type="xsd:string"/>
  199.         <xsd:attribute name="Ram" type="xsd:string"/>
  200.         <xsd:attribute name="DriverVersion" type="xsd:string"/>
  201.         <xsd:attribute name="ChipType" type="xsd:string"/>
  202.     </xsd:complexType>
  203.     <!-- ================================================================ -->
  204.     <!-- =======================  DiskInfo Type  ======================== -->
  205.     <!-- ================================================================ -->
  206.     <xsd:complexType name="DiskInfoType">
  207.         <xsd:attribute name="Root" type="xsd:string" use="required"/>
  208.         <xsd:attribute name="Available" type="xsd:string" use="required"/>
  209.         <xsd:attribute name="Capacity" type="xsd:string" use="required"/>
  210.         <xsd:attribute name="Free" type="xsd:string" use="required"/>
  211.         <xsd:attribute name="FileSystemFlags" type="xsd:string" use="required"/>
  212.         <xsd:attribute name="FileSystemName" type="xsd:string" use="required"/>
  213.         <xsd:attribute name="MaxComponentLength" type="xsd:string" use="required"/>
  214.         <xsd:attribute name="VolumeName" type="xsd:string"/>
  215.     </xsd:complexType>
  216.     <!-- ================================================================ -->
  217.     <!-- ======================  SystemSpec Type  ======================= -->
  218.     <!-- ================================================================ -->
  219.     <xsd:complexType name="SystemSpecType">
  220.         <xsd:sequence>
  221.             <xsd:element name="PingBackInfo" type="PingBackInfoType" minOccurs="0" maxOccurs="unbounded"/>
  222.             <xsd:element name="Device" type="DeviceType" minOccurs="0" maxOccurs="unbounded"/>
  223.         </xsd:sequence>
  224.     </xsd:complexType>
  225.     <!-- ================================================================ -->
  226.     <!-- =====================  PingBackInfo Type  ====================== -->
  227.     <!-- ================================================================ -->
  228.     <xsd:complexType name="PingBackInfoType">
  229.         <xsd:attribute name="manufacturer" type="xsd:string" use="optional"/>
  230.         <xsd:attribute name="model" type="xsd:string" use="optional"/>
  231.         <xsd:attribute name="biosName" type="xsd:string" use="optional"/>
  232.         <xsd:attribute name="biosVersion" type="xsd:string" use="optional"/>
  233.         <xsd:attribute name="biosDate" type="xsd:string" use="optional"/>
  234.     </xsd:complexType>
  235.     <!-- ================================================================ -->
  236.     <!-- ========================  Device Type  ========================= -->
  237.     <!-- ================================================================ -->
  238.     <xsd:complexType name="DeviceType">
  239.         <xsd:sequence>
  240.             <xsd:element name="HWID" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  241.             <xsd:element name="COMPID" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
  242.             <xsd:element name="InstalledDriver" type="InstalledDriverType" minOccurs="1" maxOccurs="unbounded"/>
  243.         </xsd:sequence>
  244.     </xsd:complexType>
  245.     <!-- ================================================================ -->
  246.     <!-- ===================  InstalledDriver Type  ===================== -->
  247.     <!-- ================================================================ -->
  248.     <xsd:complexType name="InstalledDriverType">
  249.         <xsd:attribute name="matchingID" type="xsd:string" use="optional"/>
  250.         <xsd:attribute name="driverVerDate" type="xsd:string" use="optional"/>
  251.         <xsd:attribute name="driverVerVersion" type="xsd:string" use="optional"/>
  252.         <xsd:attribute name="class" type="xsd:string" use="optional"/>
  253.         <xsd:attribute name="manufacturer" type="xsd:string" use="optional"/>
  254.         <xsd:attribute name="provider" type="xsd:string" use="optional"/>
  255.         <xsd:attribute name="model" type="xsd:string" use="optional"/>
  256.     </xsd:complexType>
  257.     <!-- ================================================================ -->
  258.     <!-- =====================  Collection Type  ======================== -->
  259.     <!-- ================================================================ -->
  260.     <xsd:complexType name="CollectionType">
  261.         <xsd:sequence>
  262.             <xsd:element name="StaticProperty" type="StaticPropertyType" minOccurs="0" maxOccurs="unbounded"/>
  263.         </xsd:sequence>
  264.     </xsd:complexType>
  265.     <!-- ================================================================ -->
  266.     <!-- =====================  StaticProperty Type  ==================== -->
  267.     <!-- ================================================================ -->
  268.     <xsd:complexType name="StaticPropertyType">
  269.         <xsd:sequence>
  270.             <xsd:element name="StaticProperty" type="StaticPropertyType" minOccurs="0" maxOccurs="unbounded"/>
  271.             <xsd:element name="DynamicProperty" type="DynamicPropertyType" minOccurs="0" maxOccurs="unbounded"/>
  272.         </xsd:sequence>
  273.         <xsd:attribute name="Type" type="evidenceType" use="required"/>
  274.         <xsd:attribute name="RNP" type="namePriority" use="required"/>
  275.         <xsd:attribute name="DNP" type="namePriority" use="required"/>
  276.         <xsd:attribute name="BinaryType" type="string260" use="optional"/>
  277.         <xsd:attribute name="BinFileVersion" type="string260" use="optional"/>
  278.         <xsd:attribute name="BinProductVersion" type="string260" use="optional"/>
  279.         <xsd:attribute name="Checksum" type="string260" use="optional"/>
  280.         <xsd:attribute name="CommandLine" type="string2048" use="optional"/>
  281.         <xsd:attribute name="CompanyName" type="string260" use="optional"/>
  282.         <xsd:attribute name="Created" type="string260" use="optional"/>
  283.         <xsd:attribute name="Description" type="string2048" use="optional"/>
  284.         <xsd:attribute name="Description16Bit" type="string260" use="optional"/>
  285.         <xsd:attribute name="Directory" type="string2048" use="optional"/>
  286.         <xsd:attribute name="DisplayName" type="string260" use="optional"/>
  287.         <xsd:attribute name="Dll" type="string260" use="optional"/>
  288.         <xsd:attribute name="Extension" type="string260" use="optional"/>
  289.         <xsd:attribute name="File" type="string260" use="optional"/>
  290.         <xsd:attribute name="FileBinarySignature" type="string260" use="optional"/>
  291.         <xsd:attribute name="FileDescription" type="string2048" use="optional"/>
  292.         <xsd:attribute name="FileName" type="string260" use="optional"/>
  293.         <xsd:attribute name="FilePath" type="string2048" use="optional"/>
  294.         <xsd:attribute name="FileVersion" type="string260" use="optional"/>
  295.         <xsd:attribute name="FileVersionSignature" type="string260" use="optional"/>
  296.         <xsd:attribute name="FusionType" type="string260" use="optional"/>
  297.         <xsd:attribute name="GUID" type="string260" use="optional"/>
  298.         <xsd:attribute name="HasFolderSibling" type="string260" use="optional"/>
  299.         <xsd:attribute name="Hotfix" type="string260" use="optional"/>
  300.         <xsd:attribute name="Inf" type="string260" use="optional"/>
  301.         <xsd:attribute name="InstallDate" type="string260" use="optional"/>
  302.         <xsd:attribute name="InternalName" type="string260" use="optional"/>
  303.         <xsd:attribute name="Language" type="string260" use="optional"/>
  304.         <xsd:attribute name="LastUsed" type="string260" use="optional"/>
  305.         <xsd:attribute name="LegalCopyright" type="string2048" use="optional"/>
  306.         <xsd:attribute name="LinkDate" type="string260" use="optional"/>
  307.         <xsd:attribute name="LinkDirectory" type="string2048" use="optional"/>
  308.         <xsd:attribute name="LinkPath" type="string2048" use="optional"/>
  309.         <xsd:attribute name="LinkerVersion" type="string260" use="optional"/>
  310.         <xsd:attribute name="LowerCaseLongPath" type="string2048" use="optional"/>
  311.         <xsd:attribute name="Modified" type="string260" use="optional"/>
  312.         <xsd:attribute name="ModuleName16Bit" type="string260" use="optional"/>
  313.         <xsd:attribute name="ModuleType" type="string260" use="optional"/>
  314.         <xsd:attribute name="Name" type="string260" use="optional"/>
  315.         <xsd:attribute name="OriginalFilename" type="string260" use="optional"/>
  316.         <xsd:attribute name="OsComponent" type="string260" use="optional"/>
  317.         <xsd:attribute name="PackageId" type="string260" use="optional"/>
  318.         <xsd:attribute name="ParentName" type="string260" use="optional"/>
  319.         <xsd:attribute name="Path" type="string2048" use="optional"/>
  320.         <xsd:attribute name="PeChecksum" type="string260" use="optional"/>
  321.         <xsd:attribute name="ProcessorArchitecture" type="string260" use="optional"/>
  322.         <xsd:attribute name="ProductId" type="string260" use="optional"/>
  323.         <xsd:attribute name="ProductName" type="string260" use="optional"/>
  324.         <xsd:attribute name="ProductVersion" type="string260" use="optional"/>
  325.         <xsd:attribute name="PublicKeyToken" type="string260" use="optional"/>
  326.         <xsd:attribute name="RegistryKeyValue" type="string2048" use="optional"/>
  327.         <xsd:attribute name="RegistryPath" type="string2048" use="optional"/>
  328.         <xsd:attribute name="RegistryRun" type="string260" use="optional"/>
  329.         <xsd:attribute name="RegistrySubKey" type="string260" use="optional"/>
  330.         <xsd:attribute name="ServiceType" type="string260" use="optional"/>
  331.         <xsd:attribute name="ShellName" type="string260" use="optional"/>
  332.         <xsd:attribute name="Size" type="string260" use="optional"/>
  333.         <xsd:attribute name="StartType" type="string260" use="optional"/>
  334.         <xsd:attribute name="SvcHost" type="string260" use="optional"/>
  335.         <xsd:attribute name="TargetArg" type="string260" use="optional"/>
  336.         <xsd:attribute name="TargetPath" type="string2048" use="optional"/>
  337.         <xsd:attribute name="TimesUsed" type="string260" use="optional"/>
  338.         <xsd:attribute name="UninstallString" type="string2048" use="optional"/>
  339.         <xsd:attribute name="UniqueId" type="string260" use="optional"/>
  340.         <xsd:attribute name="VerLanguage" type="string260" use="optional"/>
  341.     </xsd:complexType>
  342.     <!-- ================================================================ -->
  343.     <!-- ===================  DynamicProperty Type  ===================== -->
  344.     <!-- ================================================================ -->
  345.     <xsd:complexType name="DynamicPropertyType">
  346.         <xsd:attribute name="Type" type="xsd:string" use="required"/>
  347.         <xsd:anyAttribute processContents="lax"/>
  348.     </xsd:complexType>
  349. </xsd:schema>
  350.